package com.baige.service.statistic.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 系统统计
 * </p>
 *
 * @author wulg
 * @since 2018-12-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("system_date_statistic")
public class SystemDateStatistic extends Model<SystemDateStatistic> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;
    /**
     * 平台商品数
     */
    @TableField("goods_count")
    private Integer goodsCount;
    /**
     * 平台用户总数
     */
    @TableField("user_count")
    private Integer userCount;
    /**
     * 生效会员数
     */
    @TableField("vip_user_count")
    private Integer vipUserCount;
    /**
     * 租赁订单数
     */
    @TableField("rent_order_count")
    private Integer rentOrderCount;
    /**
     * 续租订单数
     */
    @TableField("relet_order_count")
    private Integer reletOrderCount;
    /**
     * 购买订单数
     */
    @TableField("buy_order_count")
    private Integer buyOrderCount;
    /**
     * 售出月卡订单数
     */
    @TableField("month_card_order_count")
    private Integer monthCardOrderCount;
    /**
     * 售出季卡数
     */
    @TableField("season_card_order_count")
    private Integer seasonCardOrderCount;
    /**
     * 售出年卡数
     */
    @TableField("year_card_order_count")
    private Integer yearCardOrderCount;
    /**
     * 总的会员数
     */
    @TableField("total_vip_user_count")
    private Integer totalVipUserCount;
    /**
     * 总的租金
     */
    @TableField("total_rent_amount")
    private BigDecimal totalRentAmount;
    /**
     * 总的押金
     */
    @TableField("total_deposit_amount")
    private BigDecimal totalDepositAmount;
    /**
     * 卖包交易额
     */
    @TableField("total_buy_amount")
    private BigDecimal totalBuyAmount;
    /**
     * 卡的交易额
     */
    @TableField("total_card_amount")
    private BigDecimal totalCardAmount;
    /**
     * GMV金额
     */
    @TableField("gmv_amount")
    private BigDecimal gmvAmount;
    /**
     * 来源
     */
    private Integer source;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
